package com.jing.service;

import com.jing.pojo.ReservationInfo;

import java.util.List;

/**
 * @author 陈书憬
 * @version 1.0
 * 2024/9/20
 */
public interface ReservationInfoService {
    void checkSeatAvailability(ReservationInfo reservationInfo);

    void add(ReservationInfo reservationInfo);

     ReservationInfo findSeat(Integer id, Integer seatId);

    List<Integer> findSeatButton(Integer id);

    List<String> findUserSeatStatus(Integer id);

    List<ReservationInfo> findUserMsgById(Integer userId);

    void updateSignIn(Integer userId, String checkInTime);

    void updateSignOut(Integer userId, String checkOutTime);

    void setSeatStatus(Integer userId, String reservationStatus);

    void deleteUserInfo(Integer userId);

    void selectSeatStatus(Integer userId);

    void changeSeatMsg(ReservationInfo reservationInfo);

    List<ReservationInfo> findSeatTimes(Integer id, Integer seatId);

    void addSensorSeat(String name, String time, String seatId,  String username);
}
